package com.scalar.chiptrack.operations.process.forms;

import org.apache.struts.action.ActionForm;
import java.util.ArrayList;

public class ProductSubstitutablesForm extends ActionForm
{
    public static final String PRODUCT_TYPE_BOARD = "BOARD";
    public static final String PRODUCT_TYPE_KIT = "KIT";
    public static final String PRODUCT_TYPE_CHIP = "CHIP";

    public ProductSubstitutablesForm () {
    }

    private String m_productType;
    private ArrayList m_productList;
    private String m_selectedProduct;
    private ArrayList m_substitutablesList;
    private ArrayList m_selectedSubstitutablesList;
    private String m_substitutableProduct;
    private String m_selectedSubstitutableProduct;
    private String baseProduct;

    private String[] selectedSubstitutableProducts;

    public String[] getSelectedSubstitutableProducts() {
        return selectedSubstitutableProducts;
    }

    public void setSelectedSubstitutableProducts(String[] selectedSubstitutableProducts) {
        this.selectedSubstitutableProducts = selectedSubstitutableProducts;
    }

    public String getSelectedSubstitutableProduct() {
        return m_selectedSubstitutableProduct;
    }

    public void setSelectedSubstitutableProduct(String selectedSubstitutableProduct) {
        this.m_selectedSubstitutableProduct = selectedSubstitutableProduct;
    }

    public String getSubstitutableProduct() {
        return m_substitutableProduct;
    }

    public void setSubstitutableProduct(String substitutableProduct) {
        this.m_substitutableProduct = substitutableProduct;
    }

    public String getProductType() {
        return m_productType;
    }

    public void setProductType(String productType) {
        this.m_productType = productType;
    }

    public ArrayList getProductList() {
        return m_productList;
    }

    public void setProductList(ArrayList productList) {
        this.m_productList = productList;
    }

    public String getSelectedProduct() {
        return m_selectedProduct;
    }

    public void setSelectedProduct(String selectedProduct) {
        this.m_selectedProduct = selectedProduct;
    }

    public ArrayList getSubstitutablesList() {
        return m_substitutablesList;
    }

    public void setSubstitutablesList(ArrayList substitutablesList) {
        this.m_substitutablesList = substitutablesList;
    }

    public ArrayList getSelectedSubstitutablesList() {
        return m_selectedSubstitutablesList;
    }

    public void setSelectedSubstitutablesList(ArrayList selectedSubstitutablesList) {
        this.m_selectedSubstitutablesList = selectedSubstitutablesList;
    }

    public String getBaseProduct() {
        return baseProduct;
    }

    public void setBaseProduct(String baseProduct) {
        this.baseProduct = baseProduct;
    }
}